import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserDao {
    @Insert("insert into user(name,password,sex) values (#{name},#{password},#{sex})")
    @Options(useGeneratedKeys = true, keyProperty = "id")
    int creatUser(User user);
} 